/*
With the following statement, write a program to output the value of each pointer variable and the value of pointer variable + 1. Submit the output of your program.
*/
#include <iostream>

int main(int argc, char const *argv[])
{
    char ch;
    int  size;
    double price; 
    int arr[5];
    char *pChar = &ch;
    int *pInt  = &size;
    double *pDbl  = &price;
    int (*pArr)[5] = &arr;
    // cout << *pChar << "\t" << pChar+1 << endl;  
    printf("%p\t%p\n", pChar, pChar+1);
    printf("%p\t%p\n", pInt, pInt+1);
    printf("%p\t%p\n", pDbl, pDbl+1);
    printf("%p\t%p\n", pArr, pArr+1);

    return 0;
}
